<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>首页</title>

<link type="text/css" rel="stylesheet" href="../oecms/css/admin.css" media="screen" />
<script type='text/javascript' src='../js/jquery-1.4.4.min.js'></script>
<script type='text/javascript' src='../js/command.js'></script>
<script type="text/javascript" src='../../data/editor/kindeditor.js'></script>
<!--script type='text/javascript' src='../../tool/ckeditor/ckeditor.js'></script-->
</head>

<body>

<!--{if $action eq ""}-->
<div class="main-wrap">

<div class="path">

  <p>当前位置：易经网站 》 运势365 <span></span></p>

</div>

<div class="main-cont">		
<label>当前时间：<!--{$today}--></label>
 <ul style="float:right;">
  <!--{for $i= 1 to $pagecount}-->
 	<li style="float:left; margin:5px;"><a target="main" href="luck365.php?page=<!--{$i}-->"><!--{$i}--></a></li>
  <!--{/for}-->   
 </ul>
 <table cellpadding="" cellspacing="" border="" style=" width:100%;">
 	
    <thead>
    	<th>日期</th>
        <th>星期</th>
        <th>农历</th>
        <th>纪年</th>
        <th>纪月</th>
        <th>纪日</th>
        <th>操作</th>
    </thead>    
     <!--{foreach $listdata as $volist}-->
        <tr>
        <td><!--{$volist.month}-->月<!--{$volist.day}-->日</td>
         <td>周<!--{$volist.week}--></td>
        <td><!--{$volist.nongli}--><!--{$volist.nonglid}--></td>
         <td><!--{$volist.gangz_year}--></td>
          <td><!--{$volist.gangz_month}--></td>
           <td><!--{$volist.gangz_day}--></td>
          <td><a target="main" href="luck365.php?action=edit&id=<!--{$volist.uuid}-->&page=<!--{$page}-->">编辑</a></td>
        </tr>
      <!--{/foreach}-->
 </table>
 <ul style="float:right;">
  <!--{for $i= 1 to $pagecount}-->
 	<li style="float:left; margin:5px;"><a target="main" href="luck365.php?page=<!--{$i}-->"><!--{$i}--></a></li>
  <!--{/for}-->   
 </ul>
 
</div>

<div style="clear:both;"></div>

</div>
<!--{/if}-->

<!--{if $action eq "edit"}-->
<div class="main-wrap">
  <div class="path"><p>当前位置：易经网站<span>&gt;&gt;</span>编辑365运势</p></div>
  <div class="main-cont">
	<h3 class="title"><a href="luck365.php?<!--{$comeurl}-->" class="btn-general"><span>返回列表</span></a>编辑365运势</h3>
     <form name="myform" id="myform" method="post" action="luck365.php" onsubmit='return checkform();' >
    <input type="hidden" name="action" value="saveedit" />
	<input type="hidden" name="id" value="<!--{$id}-->" />
    <input type="hidden" name="page" value="<!--{$page}-->" />
    <table cellpadding='3' cellspacing='3' class='tab'>
	  <tr>
      	<td class='hback_1' width="15%">日期：</td>
		<td class='hback' width="85%"><!--{$cate.month}-->月<!--{$cate.day}-->日<span class='f_red' id="dcatename"></span></td>
      </tr>
       <tr>
		<td class='hback_1'>星期：<span class='f_red'>*</span></td>
		<td class='hback'><input type="text" name="week" id="week" class="input-s" value="<!--{$cate.week}-->" /> <span class='f_red' id="dorders"></span></td>
	  </tr>
       <tr>
		<td class='hback_1'>农历（月）：<span class='f_red'>*</span></td>
		<td class='hback'><input type="text" name="nongli" id="nongli" class="input-s" value="<!--{$cate.nongli}-->" /> <span class='f_red' id="dorders"></span></td>
	  </tr>
       <tr>
		<td class='hback_1'>农历（日）：<span class='f_red'></span></td>
		<td class='hback'><input type="text" name="nonglid" id="nonglid" class="input-s" value="<!--{$cate.nonglid}-->" /> <span class='f_red' id="dorders"></span></td>
	  </tr>
      
       <tr>
		<td class='hback_1'>干支（年）：<span class='f_red'>*</span></td>
		<td class='hback'><input type="text" name="gangz_year" id="gangz_year" class="input-s" value="<!--{$cate.gangz_year}-->" /> <span class='f_red' id="dorders"></span></td>
	  </tr>
       <tr>
		<td class='hback_1'>干支（月）：<span class='f_red'>*</span></td>
		<td class='hback'><input type="text" name="gangz_month" id="gangz_month" class="input-s" value="<!--{$cate.gangz_month}-->" /> <span class='f_red' id="dorders"></span></td>
	  </tr>
       <tr>
		<td class='hback_1'>干支（日）：<span class='f_red'>*</span></td>
		<td class='hback'><input type="text" name="gangz_day" id="gangz_day" class="input-s" value="<!--{$cate.gangz_day}-->" /> <span class='f_red' id="dorders"></span></td>
	  </tr>
      
      <tr>
		<td class='hback_1'>吉神赐福： <span class='f_red'>*</span></td>
		<td class='hback'><textarea name="good" id="good" style='width:60%;height:260px;overflow:auto;color:#444444;'><!--{$cate.good}--></textarea>
         <script>KE.show({id : 'good' });</script><br /></td>
	  </tr>
      <tr>
		<td class='hback_1'>凶煞不宜： <span class='f_red'>*</span></td>
		<td class='hback'><textarea name="bad" id="bad" style='width:60%;height:260px;overflow:auto;color:#444444;'><!--{$cate.bad}--></textarea>
         <script>KE.show({id : 'bad' });</script><br /></td><br /></td>
	  </tr>
      
        <tr>
		<td class='hback_1'>正文： <span class='f_red'></span></td>
		 <td class='hback'><textarea name="content" id="content" style="width:99%;height:300px;display:none;"><!--{$cate.content}--></textarea>
		  <script>KE.show({id : 'content' });</script>  <span id='dcontent' class='f_red'></span></td>
	  </tr>
      
     <tr>
		<td class='hback_none'></td>
		<td class='hback_none'><input type="submit" name="btn_save" class="button" value="更新保存" /></td>
	  </tr>
      
      </table>
    </form>
   </div>
 </div>
    
<!--{/if}-->

</body>

</html>

